package innerclass_;

public class Inner {
    public static void main(String[] args) {
       new Outer(100).f();
    }
}

class Outer{//五要素：属性，方法，构造器，代码块，构造器
    private int n1=100;

    public Outer(int n1) {
        this.n1 = n1;
    }

    public  void f(){
        System.out.println("f() is working , n1 = "+ n1);
    }

    {
        System.out.println("code block is working ...");
    }

    class Inner_{

    }
}